package com.library.management.service.book;

import com.baomidou.mybatisplus.extension.service.IService;
import com.library.management.domain.book.Book;
import java.util.List;

public interface BookService extends IService<Book> {
    
    /**
     * 添加图书
     */
    boolean addBook(Book book);


    
    /**
     * 更新图书
     */
    boolean updateBook(Book book);
    
    /**
     * 删除图书
     */
    boolean deleteBook(Long id);
    
    /**
     * 更新图书状态
     */
    boolean updateBookStatus(Long id, Integer status);
    
    /**
     * 批量添加图书
     */
    boolean batchAddBooks(List<Book> books);
} 